Skip to content

Conversation

eyurtsev
Copy link
Collaborator

  • test
  • no statefulness


# Do we want to make tools a property? Or support an async method?
@property
def tools(self) -> list[BaseTool]:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Life cycle management is bad

Would want to be able to do some async initialization to get a list of tools from the server.

  1. Requires changing tools into a property
  2. Requires running code on a thread to spawn another event loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant